package com.wanyangproject.androidlearning.designMode.strategy;

public class OuterSpaceDuck extends Duck {


    public OuterSpaceDuck() {
        setFly(new FlyStrategyAble());
        setTweet(new TweetUnable());
    }

    @Override
    void display() {
        System.out.println("我是太空鸭。。。");
    }

    @Override
    void name() {
        System.out.println("我是科技蓝颜色的。。。");
    }

}
